//part1:C05:ex5.10.cpp
#include <iostream>
int main(void) {
  using namespace std;
  unsigned int aCnt = 0, eCnt = 0, iCnt = 0, oCnt = 0, uCnt = 0;
  char ch;
  cout << "Enter some characters:\n";
  while (cin >> ch) {
    switch (ch) {
      case 'a':
      case 'A':
        ++aCnt;
        break;
      case 'e':
      case 'E':
        ++eCnt;
        break;
      case 'i':
      case 'I':
        ++iCnt;
        break;
      case 'u':
      case 'U':
        ++uCnt;
        break;
      case 'o':
      case 'O':
        ++oCnt;
        break;
    }
  }
  cout << "a is " << aCnt << endl;
  cout << "e is " << eCnt << endl;
  cout << "i is " << iCnt << endl;
  cout << "o is " << oCnt << endl;
  cout << "u is " << uCnt << endl;
  
  return 0;
}
